package com.world.lzh.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Locale;

/**
 * @version 1.0
 * @Author lzh
 * @Date 2022/5/5 - 20:13
 **/
@Controller
public class IndexController {

    @Autowired
    private MessageSource messageSource;


    @RequestMapping("/index.html")
    public String hello(ModelMap modelMap) {
        return "index";
    }
}
